package com.crawler.crawler.service;

import java.util.List;
import com.crawler.crawler.domain.BooksAibooks;

/**
 * AibooksService接口
 * 
 * @author XUEH
 * @date 2020-10-14
 */
public interface IBooksAibooksService 
{
    /**
     * 查询Aibooks
     * 
     * @param id AibooksID
     * @return Aibooks
     */
    public BooksAibooks selectBooksAibooksById(Long id);

    /**
     * 查询Aibooks列表
     * 
     * @param booksAibooks Aibooks
     * @return Aibooks集合
     */
    public List<BooksAibooks> selectBooksAibooksList(BooksAibooks booksAibooks);

    /**
     * 新增Aibooks
     * 
     * @param booksAibooks Aibooks
     * @return 结果
     */
    public int insertBooksAibooks(BooksAibooks booksAibooks);

    /**
     * 修改Aibooks
     * 
     * @param booksAibooks Aibooks
     * @return 结果
     */
    public int updateBooksAibooks(BooksAibooks booksAibooks);

    /**
     * 批量删除Aibooks
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBooksAibooksByIds(String ids);

    /**
     * 删除Aibooks信息
     * 
     * @param id AibooksID
     * @return 结果
     */
    public int deleteBooksAibooksById(Long id);
    /**
     * 执行爬虫
     * @return
     */
    public String crawl();
}
